package com.ecgsystem.constants;

import java.net.InetAddress;

import android.location.Address;

/**
 * TODO Put here a description of what this class does.
 *
 * @author ANHTUAN.
 *         Created Sep 24, 2012.
 */
public interface Constants{
	/*
	 * Constant in Connection class
	 */
	/**
	 * TODO Put here a description of this field.
	 */
	public final String NAMESPACE = "http://tempuri.org/";
	/**
	 * TODO Put here a description of this field.
	 */
	public static String UDP_SERVER_IP = "118.71.26.27";
	/**
	 * TODO Put here a description of this field.
	 */
	public final String METHOD_NAME1 = "getUserByUsernamePassword";
	/**
	 * TODO Put here a description of this field.
	 */
	public final String METHOD_NAME2 = "getAllPatient";
	/**
	 * TODO Put here a description of this field.
	 */
	public final String METHOD_NAME3 = "getAllRecordByPID";
	/**
	 * TODO Put here a description of this field.
	 */
	public final String METHOD_NAME4 = "loadECGRawRecord";
	/**
	 * TODO Put here a description of this field.
	 */
	public final String METHOD_NAME5 = "loadECGRecord12";
	/**
	 * TODO Put here a description of this field.
	 */
	public final String METHOD_NAME6 = "loadAFrameFromRecord";
	/**
	 * TODO Put here a description of this field.
	 */
	public final String METHOD_NAME7 = "getRecordByID";
	
	/**
	 * TODO Put here a description of this field.
	 */
	public final String SOAP_ACTION1 = "http://tempuri.org/IECGService/getUserByUsernamePassword";
	/**
	 * TODO Put here a description of this field.
	 */
	public final String SOAP_ACTION2 = "http://tempuri.org/IECGService/getAllPatient";
	/**
	 * TODO Put here a description of this field.
	 */
	public final String SOAP_ACTION3 = "http://tempuri.org/IECGService/getAllRecordByPID";
	/**
	 * TODO Put here a description of this field.
	 */
	public final String SOAP_ACTION4 = "http://tempuri.org/IECGService/loadECGRawRecord";
	/**
	 * TODO Put here a description of this field.
	 */
	public final String SOAP_ACTION5 = "http://tempuri.org/IECGService/loadECGRecord12";
	/**
	 * TODO Put here a description of this field.
	 */
	public final String SOAP_ACTION6 = "http://tempuri.org/IECGService/loadAFrameFromRecord";
	/**
	 * TODO Put here a description of this field.
	 */
	public final String SOAP_ACTION7 = "http://tempuri.org/IECGService/getRecordByID";
	
	/**
	 * TODO Put here a description of this field.
	 */
	public final String URL = "http://ecgproject.somee.com/ECGServices/ECGService.svc";
	
	/**
	 * TODO Put here a description of this field.
	 */
	public final int MESS_SEND_PORT = 5002;
	/**
	 * TODO Put here a description of this field.
	 */
	public final int MESS_RECEIVE_PORT = 5003;
	
	/**
	 * TODO Put here a description of this field.
	 */
	public final int SERVER_READY = 1;
	/**
	 * TODO Put here a description of this field.
	 */
	public final int NO_WORKSTATION = 2;
	/**
	 * TODO Put here a description of this field.
	 */
	public final int STOP_SEND = 3;
	/**
	 * TODO Put here a description of this field.
	 */
	public final int CANNOT_CONNECT_SERVER = 4;
	
	/**
	 * TODO Put here a description of this field.
	 */

	public final String[] TYPE_ECG= {
			"I", "II", "III",
			"aVR", "aVL", "aVF",
			"V1", "V2", "V3",
			"V4", "V5", "V6"
	};
	
	/**
	 * TODO Put here a description of this field.
	 */
	public final int CONNECTION_ERR = 2;
	/**
	 * TODO Put here a description of this field.
	 */
	public final int WRONG_PASSWD = 1;
	/**
	 * TODO Put here a description of this field.
	 */
	public final int OK = 0;
	
	/**
	 * TODO Put here a description of this field.
	 */
	public final int TEXT_ECG_SIZE = 14;
	
	/**
	 * TODO Put here a description of this field.
	 */
	public boolean hasRecord[] = { false, false, false, false, false, false,
			false, false, false, false, false, false }; // danh dau dao
														// trinh nao duoc do
	public final int SLEEPPING_TIME = 0;
	public final int NUM_OF_SIGNAL_DRAWED = 20;
	
	public static final String PREFS_NAME = "MyPrefsFile";
	public static final String PREF_USERNAME = "username";
	public static final String PREF_PASSWORD = "password";
	public static final String PREFS_REMMEMBER = "rememberMe";
	
	public static final String TAG_PATIENT_ID = "patientID";
	public static final String TAG_PATIENT_NAME = "patientName";
	public static final String TAG_PATIENT_AGE = "patientAge";
	public static final String TAG_GENDER = "gender";
}
